home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-07-01 | 2.3 KB | 70 lines | [TEXT/MPS ] |
- ; File: E16.Sound
- ;
- ;
- ; Copyright Apple Computer, Inc. 1986-90
- ; All Rights Reserved
- ;
- ;
- noDOCFndErr GEQU $0810 ; no DOC chip found
- docAddrRngErr GEQU $0811 ; DOC address range error
- noSAppInitErr GEQU $0812 ; no SAppInit call made
- invalGenNumErr GEQU $0813 ; invalid generator number
- synthModeErr GEQU $0814 ; synthesizer mode error
- genBusyErr GEQU $0815 ; generator busy error
- mstrIRQNotAssgnErr GEQU $0817 ; master IRQ not assigned
- sndAlreadyStrtErr GEQU $0818 ; sound tools already started
- unclaimedSndIntErr GEQU $08FF ; sound tools already started
- ffSynthMode GEQU $0001 ; Free form synthesizer mode
- noteSynthMode GEQU $0002 ; Note synthesizer mode.
- gen0off GEQU $0001 ; param to FFStopSound
- gen1off GEQU $0002 ; param to FFStopSound
- gen2off GEQU $0004 ; param to FFStopSound
- gen3off GEQU $0008 ; param to FFStopSound
- gen4off GEQU $0010 ; param to FFStopSound
- gen5off GEQU $0020 ; param to FFStopSound
- gen6off GEQU $0040 ; param to FFStopSound
- gen7off GEQU $0080 ; param to FFStopSound
- gen8off GEQU $0100 ; param to FFStopSound
- gen9off GEQU $0200 ; param to FFStopSound
- gen10off GEQU $0400 ; param to FFStopSound
- gen11off GEQU $0800 ; param to FFStopSound
- gen12off GEQU $1000 ; param to FFStopSound
- gen13off GEQU $2000 ; param to FFStopSound
- gen14off GEQU $4000 ; param to FFStopSound
- genAvail GEQU $0000 ; Generator available status
- ffSynth GEQU $0100 ; Free Form Synthesizer status
- noteSynth GEQU $0200 ; Note Synthesizer status
- lastBlock GEQU $8000 ; Last block of wave
- smReadRegister GEQU $00 ; Read Register routine
- smWriteRegister GEQU $04 ; Write Register routine
- smReadRam GEQU $08 ; Read Ram routine
- smWriteRam GEQU $0C ; Write Ram routine
- smReadNext GEQU $10 ; Read Next routine
- smWriteNext GEQU $14 ; Write Next routine
- smOscTable GEQU $18 ; Pointer to Oscillator table
- smGenTable GEQU $1C ; Pointer to generator table
- smGcbAddrTable GEQU $20 ; Pointer to GCB address table
- smDisableInc GEQU $24 ; Disable Increment routine
- ; offset constants for SoundParamBlock
- owaveStart GEQU 0
- owaveSize GEQU 4
- ofreqOffset GEQU 6
- odocBuffer GEQU 8
- obufferSize GEQU 10
- onextWavePtr GEQU 12
- ovolSetting GEQU 16
- ; offset constants for DocRegParamBlk
- ooscGenType GEQU 0
- ofreqLow1 GEQU 2
- ofreqHigh1 GEQU 3
- ovol1 GEQU 4
- otablePtr1 GEQU 5
- ocontrol1 GEQU 6
- otableSize1 GEQU 7
- ofreqLow2 GEQU 8
- ofreqHigh2 GEQU 9
- ovol2 GEQU 10
- otablePtr2 GEQU 11
- ocontrol2 GEQU 12
- otableSize2 GEQU 13
-